CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
PROJECT(Excel)

#需要系统安装
#-------------------------------------------------
#sudo apt-get install libzip-dev
#-------------------------------------------------

set(CMAKE_CXX_STANDARD 17)            #支持c++17
set(CMAKE_CXX_STANDARD_REQUIRED True) #不支持c++17则报错
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wextra -O0 -DDEBUG")

add_executable(test main.cpp Excel/Excel.cpp)
TARGET_LINK_LIBRARIES(test zip)